// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.core.znet;

public class SteamGameServer {
    public static int STEAM_SERVERS_DISCONNECTED = 0;
    public static int STEAM_SERVERS_CONNECTED = 1;
    public static int STEAM_SERVERS_CONNECTFAILURE = 2;

    public static native boolean Init(String ip, int gamePort, int UDPPort, int serverMode, String version);

    public static native void SetProduct(String product);

    public static native void SetGameDescription(String description);

    public static native void SetModDir(String modDir);

    public static native void SetDedicatedServer(boolean dedicated);

    public static native void LogOnAnonymous();

    public static native void EnableHeartBeats(boolean bActive);

    public static native void SetMaxPlayerCount(int playersMax);

    public static native void SetServerName(String serverName);

    public static native void SetMapName(String mapName);

    public static native void SetKeyValue(String key, String value);

    public static native void SetGameTags(String gameTags);

    public static native void SetRegion(String region);

    public static native boolean BUpdateUserData(long steamID, String playerName, int score);

    public static native int GetSteamServersConnectState();

    public static native long GetSteamID();
}
